#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int x;
	printf("please enter a number:\n");
	scanf("%d", &x);
	if(x< -10000||x>10000)
		printf("error");
	else if ( x < 0||x>-10000)
		printf("y=1");
	else if (x = 0)
		printf("y=0");
	else
		printf("y=-1");
	return 0;
}